<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户注册</title>

    <style type="text/css">
        #error{
            color: red;
        }
    </style>
</head>
<body>

<h1>注册界面</h1>
<form method="post" action="register">
    <p>用户名：<input type="text" name="username"></p>
    <p>密码：<input type="text" name="password"></p>

    <input type="submit" value="注册">
    <button><a href="login.jsp">已有账号，返回登录</a></button>
    <p id="error" >${error}</p>
</form>
</body>
</html>
